package com.pipi.biyesheji.service;

import com.pipi.biyesheji.pojo.Category;

import java.util.List;

public interface CategoryService extends CrudService<Category> {
    /**
     * 更新分类
     * @param category
     */
    void update(Category category);

    List<Category> getCategoryByUserId(Long userId);
}
